package com.xikeda.service.imp;

import com.xikeda.dao.Average;
import com.xikeda.model.EvaluateTable;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author Xiao Linqing
 * @date 2020/6/8 13:11
 */
@Service
public class AverageService {
    @Resource
    private Average average;
    public List average(String a){
        List<EvaluateTable> list=new ArrayList<EvaluateTable>();
        try{
            list=this.average.average(a);
        }catch (Exception e){
            e.printStackTrace();
        }
        return list;
    }
   /* public List updateaverage(String s){
        List<CourierTable> list=new ArrayList<CourierTable>();
        try{
            list=this.average.updateaverage(s);
        }catch (Exception e){
            e.printStackTrace();
        }
        return list;
    }*/
}
